package com.woniuxy.springparking.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.management.relation.Role;
import java.io.Serializable;
import java.util.List;

/**
 * (User)实体类
 *
 * @author makejava
 * @since 2020-06-12 14:27:34
 */
@Data
@ApiModel(value = "User",description = "登陆账号信息")
public class User implements Serializable {
    private static final long serialVersionUID = -40652152312629662L;
    @ApiModelProperty(value = "主键")
    private Integer id;
    /**
    * 账号
    */
    @ApiModelProperty(value = "账号")
    private String username;
    /**
    * 密码
    */
    @ApiModelProperty(value = "密码密码")
    private String password;
    /**
    * 用户名称
    */
    @ApiModelProperty(value = "用户名称")
    private String renamezz;
    /**
    * 生日
    */
    @ApiModelProperty(value = "生日")
    private Object birthday;
    /**
    * 头像
    */
    @ApiModelProperty(value = "头像")
    private String headimg;

    private List<Role> roles;


}